blob: 9a38604f5c2af9d7dd9913626d5a6c50ca02c9b1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import { get } from '$lib/utils';
const username = 'bob',
network = 'lightning';
export async function GET({ params }) {
let { id } = params;
let huh = await get(`/invoice?uuid=${id}`);
let { amount, rate, text } = await get(`/invoice?uuid=${id}`);
return { body: { amount, rate, text } };
}
|